]> dgit.raspbian.org Git - gnome-shell.git/commit
panel: Move statusmenu initialization in the constructor
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 18 Feb 2011 01:34:45 +0000 (02:34 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 21 Feb 2011 16:38:47 +0000 (17:38 +0100)
commit4dec1bc846fc9fc1106083a4986595cc581a4694
treec1a4aa1a944b853714495e27d01c1e673b20b5d6
parent9925264410914a9f5df9f7e3ae8c5b74b416c407
panel: Move statusmenu initialization in the constructor

While related to the status area, the user status button is clearly
not a status icon, and it does not make too much sense in
startStatusArea(), which is about filling the status area with
icons. Also, the status icon container is added to the panel in
the constructor, in fact, the user status button is the only "toplevel"
panel element which is initialized elsewhere. Not a crucial change,
but makes for a nice read anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=642697
js/ui/panel.js